

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class Hints
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _HintTitleAR ="";
public System.String HintTitleAR
{
get { return _HintTitleAR;}
set { _HintTitleAR = value;}
}
System.String _HintTitleEN ="";
public System.String HintTitleEN
{
get { return _HintTitleEN;}
set { _HintTitleEN = value;}
}
System.String _HintDetailsAR ="";
public System.String HintDetailsAR
{
get { return _HintDetailsAR;}
set { _HintDetailsAR = value;}
}
System.String _HintDetailsEN ="";
public System.String HintDetailsEN
{
get { return _HintDetailsEN;}
set { _HintDetailsEN = value;}
}
System.DateTime _HintDate =DateTime.Now;
public System.DateTime HintDate
{
get { return _HintDate;}
set { _HintDate = value;}
}
System.String _HintImage ="";
public System.String HintImage
{
get { return _HintImage;}
set { _HintImage = value;}
}
public Hints()
{
}
public Hints(System.String __HintTitleAR,System.String __HintTitleEN,System.String __HintDetailsAR,System.String __HintDetailsEN,System.DateTime __HintDate,System.String __HintImage)
{
_HintTitleAR = __HintTitleAR;
_HintTitleEN = __HintTitleEN;
_HintDetailsAR = __HintDetailsAR;
_HintDetailsEN = __HintDetailsEN;
_HintDate = __HintDate;
_HintImage = __HintImage;
}
public Hints(System.Int64 __ID,System.String __HintTitleAR,System.String __HintTitleEN,System.String __HintDetailsAR,System.String __HintDetailsEN,System.DateTime __HintDate,System.String __HintImage)
{
_ID = __ID;
_HintTitleAR = __HintTitleAR;
_HintTitleEN = __HintTitleEN;
_HintDetailsAR = __HintDetailsAR;
_HintDetailsEN = __HintDetailsEN;
_HintDate = __HintDate;
_HintImage = __HintImage;
}


             public override bool Equals(object obj)
         {
             if (obj is Hints)
             {
                 Hints newObj = (Hints)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
